const path = require("path")
const resolve = (pathName) => path.resolve(__dirname, pathName)

// 初始化webpack配置实例
// 配置参考：https://github.com/gsoft-inc/craco/blob/master/packages/craco/README.md#configuration-file
const webpackConfig = {
  alias: {
    "@": resolve("src"),
    components: resolve("src/components")
  }
}

module.exports = {
  webpack: webpackConfig
  // devServer: {
  //     quiet: false,
  //     stats: {
  //         timings: true,
  //         colors: true,
  //         performance: true,
  //         overlay: true,
  //     },
  //     noInfo: false,
  // }
}
